/***************************************************************************
 * 文件名:AuthenticateDTO.java<br>
 * 版本: <br>
 * 描述: <br>
 * 版权所有: <br>
 * //////////////////////////////////////////////////////// <br>
 * 创建者: robo<br>
 * 创建日期: 2010-12-30 <br>
 * 修改者: <br>
 * 修改日期: <br>
 * 修改说明: <br>
 **************************************************************************/
package com.sunwayhorizo.health.business.dto.security;
import java.io.Serializable;
import java.util.*;

import com.sunwayhorizo.health.business.dto.patad.empi.*;
import com.sunwayhorizo.health.business.dto.registries.*;

public class AuthenticatorDTO implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	//账号DTO
	private AccountDTO account=new AccountDTO();

	//机构DTO
	private OrganizationDTO organization=new OrganizationDTO();
	
	//机构对应的RIM模型中角色ID
	private String rimOrganizationRoleId;
	
	//科室DTO 
	private DepartmentDTO department=new DepartmentDTO();
	
	//科室对应的RIM模型中角色ID
	private String rimDepartmentRoleId;
	
	//角色DTO 
	private List<RoleDTO> roles=new ArrayList<RoleDTO>();
	
	//权限列表
	private List<PermissionDTO> permissions=new ArrayList<PermissionDTO>();
	
	//工作组DTO
	private List<DepartmentDTO> workgroups=new ArrayList<DepartmentDTO>();
	
	//人员
	private PatientBaseInfoDTO person=new PatientBaseInfoDTO();
	
	//人员对应的RIM模型中角色ID
	private String rimEmployeeId;
	
	private String menus;
		
	@Override
	public String toString() {
		return "AuthenticatorDTO [\n账号=" + account + ",\n 机构="
				+ organization + ",\n 机构对应的RIM模型中角色ID="
				+ rimOrganizationRoleId + ",\n 科室=" + department
				+ ",\n 科室对应的RIM模型中角色ID=" + rimDepartmentRoleId
				+ ",\n 角色DTO=" + roles + ",\n 权限列表=" + permissions
				+ ",\n 工作组DTO=" + workgroups + ",\n 人员=" + person
				+ ",\n 人员对应的RIM模型中角色ID=" + rimEmployeeId + ",\n menus=" + menus
				+ "]";
	}

	public AccountDTO getAccount() {
		return account;
	}

	public void setAccount(AccountDTO account) {
		this.account = account;
	}

	public OrganizationDTO getOrganization() {
		return organization;
	}

	public void setOrganization(OrganizationDTO organization) {
		this.organization = organization;
	}

	public DepartmentDTO getDepartment() {
		return department;
	}

	public void setDepartment(DepartmentDTO department) {
		this.department = department;
	}

	public List<RoleDTO> getRoles() {
		return roles;
	}

	public void setRoles(List<RoleDTO> roles) {
		this.roles = roles;
	}

	public List<PermissionDTO> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<PermissionDTO> permissions) {
		this.permissions = permissions;
	}

	public List<DepartmentDTO> getWorkgroups() {
		return workgroups;
	}

	public void setWorkgroups(List<DepartmentDTO> workgroups) {
		this.workgroups = workgroups;
	}

	
	public PatientBaseInfoDTO getPerson() {
		return person;
	}

	public void setPerson(PatientBaseInfoDTO person) {
		this.person = person;
	}

	public String getRimOrganizationRoleId() {
		return rimOrganizationRoleId;
	}

	public void setRimOrganizationRoleId(String rimOrganizationRoleId) {
		this.rimOrganizationRoleId = rimOrganizationRoleId;
	}

	public String getRimDepartmentRoleId() {
		return rimDepartmentRoleId;
	}

	public void setRimDepartmentRoleId(String rimDepartmentRoleId) {
		this.rimDepartmentRoleId = rimDepartmentRoleId;
	}

	public String getRimEmployeeId() {
		return rimEmployeeId;
	}

	public void setRimEmployeeId(String rimEmployeeId) {
		this.rimEmployeeId = rimEmployeeId;
	}

	public String getMenus() {
		return menus;
	}

	public void setMenus(String menus) {
		this.menus = menus;
	}

	
    
	
	
		
	
}


